package com.manage.project.biz.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.manage.project.biz.mapper.BizXiaofangyanghuMapper;
import com.manage.project.biz.domain.BizXiaofangyanghu;
import com.manage.project.biz.service.IBizXiaofangyanghuService;

/**
 * 消防设施清洁维护Service业务层处理
 * 
 * @author liang
 * @date 2022-06-02
 */
@Service
public class BizXiaofangyanghuServiceImpl implements IBizXiaofangyanghuService 
{
    @Autowired
    private BizXiaofangyanghuMapper bizXiaofangyanghuMapper;

    /**
     * 查询消防设施清洁维护
     * 
     * @param id 消防设施清洁维护主键
     * @return 消防设施清洁维护
     */
    @Override
    public BizXiaofangyanghu selectBizXiaofangyanghuById(Long id)
    {
        return bizXiaofangyanghuMapper.selectBizXiaofangyanghuById(id);
    }

    /**
     * 查询消防设施清洁维护列表
     * 
     * @param bizXiaofangyanghu 消防设施清洁维护
     * @return 消防设施清洁维护
     */
    @Override
    public List<BizXiaofangyanghu> selectBizXiaofangyanghuList(BizXiaofangyanghu bizXiaofangyanghu)
    {
        return bizXiaofangyanghuMapper.selectBizXiaofangyanghuList(bizXiaofangyanghu);
    }

    /**
     * 新增消防设施清洁维护
     * 
     * @param bizXiaofangyanghu 消防设施清洁维护
     * @return 结果
     */
    @Override
    public int insertBizXiaofangyanghu(BizXiaofangyanghu bizXiaofangyanghu)
    {
        return bizXiaofangyanghuMapper.insertBizXiaofangyanghu(bizXiaofangyanghu);
    }

    /**
     * 修改消防设施清洁维护
     * 
     * @param bizXiaofangyanghu 消防设施清洁维护
     * @return 结果
     */
    @Override
    public int updateBizXiaofangyanghu(BizXiaofangyanghu bizXiaofangyanghu)
    {
        return bizXiaofangyanghuMapper.updateBizXiaofangyanghu(bizXiaofangyanghu);
    }

    /**
     * 批量删除消防设施清洁维护
     * 
     * @param ids 需要删除的消防设施清洁维护主键
     * @return 结果
     */
    @Override
    public int deleteBizXiaofangyanghuByIds(Long[] ids)
    {
        return bizXiaofangyanghuMapper.deleteBizXiaofangyanghuByIds(ids);
    }

    /**
     * 删除消防设施清洁维护信息
     * 
     * @param id 消防设施清洁维护主键
     * @return 结果
     */
    @Override
    public int deleteBizXiaofangyanghuById(Long id)
    {
        return bizXiaofangyanghuMapper.deleteBizXiaofangyanghuById(id);
    }
}
